<div class="content-box"><!-- Start Content Box -->
    <form action="" method="POST" id="formnoidung" name="dulieu" enctype="multipart/form-data" onsubmit="return validateForm()">
        <div class="content-box-header">
    		<h3>Thêm Môn Học</h3>
    	</div>
        <div class="content-box-content">
            <table>
                <tr>
                    <td colspan="2"><label style="color:red;">{$thongbao}</label></td>
                </tr>
                <tr>
                    <td><label>Mã môn học:</label></td>
                    <td><input type="text"  class="text-input" name="mamonhoc" id="mamonhoc" value="{$ma}" {$tt} /><label id="lbl-cmt1"></label></td>
                </tr>
                <tr>
                    <td><label>Tên môn học:</label></td>
                    <td><input type="text" class="text-input" name="tenmonhoc" id="tenmonhoc" value="{$ten}"/><label id="lbl-cmt2"></label></td>
                </tr>
                  <tr>
                    <td><label>Tên Viết Tắt:</label></td>
                    <td><input type="text" class="text-input" name="tenviettat" id="tenviettat" value="{$tenvt}"/><label id="lbl-cmt3"></label></td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" class="button" name="btnLuu" value="{$btnName}"/>            
                    </td>
                </tr>
            </table>
        </div>
     </form>
     <form action="" method="POST" id="formnoidung" name="dulieu" enctype="multipart/form-data">
        <div class="content-box-header">
            <h3>Danh Mục Môn Học</h3>
        </div>
        <div id="items">
            <table>
                <tr>
                    <td colspan="6">
                        <input type="text" class="text-input" name="txtkey"/>
                        <input type="submit" value="Tìm kiếm" name="timkiem" class="button"/>
                        <input type="submit" class="button" value="Xoá Chọn" name="xoachon" id="xoachon"/>
                    </td>
                </tr>
                <tr>
                    <th><input name="checkall" id="checkall" value="" type="checkbox" onclick="SetAllCheckBoxes('dulieu','items',this.checked);" /></th>
                    <th>Mã Môn Học</th>
                    <th>Tên Viết Tắt</th>
                    <th>Tên Môn Học</th>
                    <th colspan="2">Chức Năng</th>
                </tr>
                {foreach from=$ds_mh item=dt}
                    <tr>
                        <td class="cangiua"><input type="checkbox" id="checkbox[]" name="checkbox[]" value="{$dt->getmadm_mh()}"/></td>
                        <td class="cangiua">{$dt->getmadm_mh()}</td>
                        <td>{$dt->getten_vt_mh()}</td>
                        <td>{$dt->getten_mh()}</td>
                        <td><a href="chuongtrinhdaotao-monhoc-ma-{$dt->getmadm_mh()}"><img src="../php/images/edit1.png" title="Sửa"/></a></td>
                        <td><a onclick="return confirm('Bạn muốn xóa môn hoc {$dt->getten_mh()} ?')"href="chuongtrinhdaotao-monhoc-xoama-{$dt->getmadm_mh()}"><img src="../php/images/del.png" title="Xóa"/></a></td>
                    </tr>
                {/foreach}
                <tr>
                    <td colspan="6" class="canphai" style="text-align: right; padding: 10px;">Trang<span class="pagers"> {$p} {$pages}</span></td>
                </tr>
            </table>
        </div>
    </form>
</div>